package com.training.action.xixiaoming;

import com.training.pojo.chengshu.MotorRoom;
import com.training.service.xixiaoming.motorService;

public class saveEditMotorAction {
	private MotorRoom m;
	private motorService motorser;
	public String execute(){
		try {
			motorser.saveEditMotor(m);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		return "success";
	}
	public motorService getMotorser() {
		return motorser;
	}
	public MotorRoom getM() {
		return m;
	}
	public void setM(MotorRoom m) {
		this.m = m;
	}
	public void setMotorser(motorService motorser) {
		this.motorser = motorser;
	}
	
}
